<%@ page language="java"  contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<% 
    if(session.getAttribute("userName") == null)
    {
    	response.sendRedirect("/Shrek");   	
    }
    HttpSession ses=request.getSession();
	String sesname= (String)ses.getAttribute("userName");
%> 

<style>
<!--
#banner{
    background:url(../../images/topbar_bg.gif);
    font-size:13px;
    font-color:red;
    width:100%; 
    height:70px ;
};
a{color:#3770c0}
.userCenter a:hover{ cursor:pointer
}
.userHelp a:hover{
     cursor:pointer; cursor:hand;
}
.reLogin a:hover{
	 cursor:pointer
}
.loginOut a:hover{
	 cursor:pointer
}
#top_menu{
	top:4px;
	right:13px;
	width:320px;
	float:right;
	height:70px
}
#foot{
    width:100%; 
    height:50; 
    color:#3770c0;
    background:url(../../images/button_bg.gif); 
    text-align:center;
    font-size:13px;
}
-->
</style>
<script src="/Shrek/ext/ext-all-2.0.js"></script>
<script src="/Shrek/interface/home/index.js" type="text/javascript"></script>
<script src="Clock.js" type="text/javascript"></script>
<script>var namese = '<%=sesname %>'</script>
<div id="banner">
<div style="float:left; width:40%; height:50px; text-align:left; margin-top:20px; padding-left:20px">
  <p style="font-size:18px; color:#3770c0;font-weight:bold">Welcome,<%=session.getAttribute("trueName")%>!
  </p></div>
<div id="top_menu">
            <table width="100%">
                <tr>
                	<td width="16" height="40" align="right"><img src="../../images/key.png" alt="用户中心" /></td>
                    
                    <td width="64" align="left"><a href="#" id="userCenter">UCenter</a></td>
                    
                    <td width="16" align="right"><img src="../../images/help.png" alt="使用帮助" /></td>
                    
                    <td width="64" align="left"><a href="#" id="userHelp">Help</a></td>
                    
                    <td width="16" align="right"><img src="../../images/redo.png" alt="重新登录" /></td>
                    
                    <td width="64" align="left"><a href="#" id="reLogin">Log off</a></td>
                    
                    <td width="16" align="right"><img src="../../images/cross.gif" alt="退出系统" /></td>
                    
                    <td width="64" align="left"><a href="#" id="loginOut">Exit</a></td>
                </tr>
                <tr>
                  <td height="20" colspan="8" align="center"><SPAN id=clock style="color:#3770c0"></SPAN></td>
                </tr>
            </table>
</div>
</div>
<SCRIPT type=text/javascript> 
    var clock = new Clock();
    clock.display(document.getElementById("clock"));
</SCRIPT>

<div id="foot">
<p>Copyrights</p>
<p>Honeywell Mobility Team</p>
</div>